public class PhoneTest {
    //程序的入口
    public static void main(String[] args) {
        //具体实例化
        Phone HuaWei = new Phone("华为", "200y");

        System.out.println(HuaWei.name);
        System.out.println(HuaWei.price);
        HuaWei.callPhone();
        HuaWei.sendMsg();
    }
}
